#include <iostream>
#include "singleton.h"
int main(int argc, char *argv[])
{
    std::shared_ptr<Singleton> mPinstance = Singleton::GetInstance();

     QString username, password;
    if(mPinstance->readConfigFile(username, password)){
         /*
          * 读配置
         */
     }
    else if (mPinstance->writeConfigFile(username, password)){

    }

    return 0;
}
